package com.lzj.mallchat.common.common.event;

import com.lzj.mallchat.common.user.domain.entity.User;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @author lzj
 * @Description
 * @Package com.lzj.mallchat.common.common.event
 * @date 2024/8/22 19:27
 */
@Getter
public class UserRegisterEvent extends ApplicationEvent {
    private User user;
    public UserRegisterEvent(Object source,User user) {
        super(source);
        this.user = user;
    }
}
